package com.admin.service.login_verify_service;

import com.pojo.AdminBean;

import java.util.List;

/**
 * 登录验证
 */
public interface LoginVerifyService {

    public Boolean adminCheck(AdminBean ab);

    Boolean adminRegister(AdminBean ab);

    /**
     * 通过用户名得到登录者的信息
     * @param adminName
     * @return
     */
    public AdminBean getAdminAllInfo(String adminName);

    /**
     * 注册验证传入用户名和电话
     * @param ab
     * @return
     */
    Boolean regAdminCheck(AdminBean ab);

}
